package com.java.utils.thread;

import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;

/**
 * 线程池工具
 * @author Kevin
 *
 */
public class ExecutorServiceUtil {

	private final static ExecutorService EXECUTOR_SERVICE = Executors.newSingleThreadExecutor();

	public static void doWork(Runnable command) {
		EXECUTOR_SERVICE.execute(command);
	}

}
